package com.socool.sinofaith.model;

import java.util.ArrayList;

public class ViewQuestionBean extends BaseMessage implements java.io.Serializable {
	private static final long serialVersionUID = -8176190219352998978L;
	private String taskid;
	public String getTaskid() {
		return taskid;
	}
	public void setTaskid(String taskid) {
		this.taskid = taskid;
	}
	private ArrayList<Question> QuestionList;
	public ArrayList<Question> getQuestionList() {
		return QuestionList;
	}
	public void setQuestionList(ArrayList<Question> questionList) {
		QuestionList = questionList;
	}
	public class Question implements java.io.Serializable {
		private static final long serialVersionUID = 8658482473798350163L;
		private String TaskQuestion_ID; // 问题编号
		private String Template_ID; // 模板编号
		private String Question; // 问题
		private String QuestionType; // 问题类型 1单选择 2多选 3图片 4音频 5视频 6文字描述
		private String HasOtherOption; // 是否包含其它这个选项（单选题的附加项） 1：有 0：无
		private String OrderIndex; // 问题逻辑排序
		private String IsRequired; // 是否必答 1：是 0：否
		private String PhotoNum; // 图片题允许上传图片数量
		private String PhotoMode; // 上传模式 1：只允许拍照上传 0：本地照片或者拍照
		private String PhotoDesc; // 是否需要上传图片时附带说明 1：需要 0：不需要
		private String ZaikuFlag;//是否在库 1：在 0：否
		private ArrayList<Option> OptionList;
		public String getTaskQuestion_ID() {
			return TaskQuestion_ID;
		}
		public void setTaskQuestion_ID(String taskQuestion_ID) {
			TaskQuestion_ID = taskQuestion_ID;
		}
		public String getTemplate_ID() {
			return Template_ID;
		}
		public void setTemplate_ID(String template_ID) {
			Template_ID = template_ID;
		}
		public String getQuestion() {
			return Question;
		}
		public void setQuestion(String question) {
			Question = question;
		}
		public String getQuestionType() {
			return QuestionType;
		}
		public void setQuestionType(String questionType) {
			QuestionType = questionType;
		}
		public String getHasOtherOption() {
			return HasOtherOption;
		}
		public void setHasOtherOption(String hasOtherOption) {
			HasOtherOption = hasOtherOption;
		}
		public String getOrderIndex() {
			return OrderIndex;
		}
		public void setOrderIndex(String orderIndex) {
			OrderIndex = orderIndex;
		}
		public String getIsRequired() {
			return IsRequired;
		}
		public void setIsRequired(String isRequired) {
			IsRequired = isRequired;
		}
		public String getPhotoNum() {
			return PhotoNum;
		}
		public void setPhotoNum(String photoNum) {
			PhotoNum = photoNum;
		}
		public String getPhotoMode() {
			return PhotoMode;
		}
		public void setPhotoMode(String photoMode) {
			PhotoMode = photoMode;
		}
		public String getPhotoDesc() {
			return PhotoDesc;
		}
		public void setPhotoDesc(String photoDesc) {
			PhotoDesc = photoDesc;
		}
		public String getZaikuFlag() {
			return ZaikuFlag;
		}
		public void setZaikuFlag(String zaikuFlag) {
			ZaikuFlag = zaikuFlag;
		}
		public ArrayList<Option> getOptionList() {
			return OptionList;
		}
		public void setOptionList(ArrayList<Option> optionList) {
			OptionList = optionList;
		}
		public class Option implements java.io.Serializable {
			private static final long serialVersionUID = -5154481368685565572L;
			private String OP_ID; // 选项编号
			private String TaskQuestion_ID; // 问题编号
			private String OptionValue; // 选项内容
			private String IsDefault; // 是否默认的选项 1：是 0:否
			private String JumpTo; // 此选项跳转到的题目序号（逻辑的排序）
			public String getOP_ID() {
				return OP_ID;
			}
			public void setOP_ID(String oP_ID) {
				OP_ID = oP_ID;
			}
			public String getTaskQuestion_ID() {
				return TaskQuestion_ID;
			}
			public void setTaskQuestion_ID(String taskQuestion_ID) {
				TaskQuestion_ID = taskQuestion_ID;
			}
			public String getOptionValue() {
				return OptionValue;
			}
			public void setOptionValue(String optionValue) {
				OptionValue = optionValue;
			}
			public String getIsDefault() {
				return IsDefault;
			}
			public void setIsDefault(String isDefault) {
				IsDefault = isDefault;
			}
			public String getJumpTo() {
				return JumpTo;
			}
			public void setJumpTo(String jumpTo) {
				JumpTo = jumpTo;
			}
		}
	}
}
